package com.lecture.service;
import com.lecture.hibernate.pojo.Account;
import com.lecture.hibernate.pojo.Messagebox;
import com.lecture.hibernate.pojo.Teacher;
import com.lecture.hibernate.pojo.Student;
import java.util.*;

public interface MessageService {
	//public String sendmessage(String user,Integer teacher) ;
	public String saveMessageBox(Messagebox msg);
	public List<Messagebox> findMessageboxByTeacher(Teacher teacher) throws Exception;
	public List<Messagebox> findMessageboxByStudent(Student student) throws Exception;
	public boolean updateMessageBox(Messagebox msg);
}
